#include<stdio.h>
int main()
{
	int a = 0, b = 0, c = 0;
	scanf_s("%d%d%d", &a, &b, &c);
	if (a + b < c || a + c < b || b + c < a)
		printf("Not triangle");
	if (a + b > c && a + c > b && b + c > a) 
	{
		if (a * a + b * b == c * c || a * a + c * c == b * b || b * b + c * c == a * a)
			printf("Right triangle");
		if (a == b && a == c && b == c)
		{
			printf("Equilateral triangle\n");
			printf("Acute triangle\n");
			printf("Isosceles triangle\n");
		}
		if (a != b && a != c && b != c)
		{
			if ((b * b + c * c - a * a) / 2 < 0 || (b * b + a * a - c * c) / 2 < 0 || (a * a + c * c - b * b) / 2 < 0)
				printf("Obtuse triangle");
			if ((b * b + c * c - a * a) / 2 > 0 && (b * b + a * a - c * c) / 2 > 0 && (a * a + c * c - b * b) / 2 > 0)
				printf("Acute triangle");
		}
		if (a == b && a != c && b != c)
		{
			if ((b * b + c * c - a * a) / 2 < 0 || (b * b + a * a - c * c) / 2 < 0 || (a * a + c * c - b * b) / 2 < 0)
			{
				printf("Obtuse triangle\n");
				printf("Isosceles triangle\n");
			}
			if ((b * b + c * c - a * a) / 2 > 0 && (b * b + a * a - c * c) / 2 > 0 && (a * a + c * c - b * b) / 2 > 0)
			{
				printf("Acute triangle\n");
				printf("Isosceles triangle\n");
			}
		}
		if (a == c && a != b && c != b)
		{
			if ((b * b + c * c - a * a) / 2 < 0 || (b * b + a * a - c * c) / 2 < 0 || (a * a + c * c - b * b) / 2 < 0)
			{
				printf("Obtuse triangle\n");
				printf("Isosceles triangle\n");
			}
			if ((b * b + c * c - a * a) / 2 > 0 && (b * b + a * a - c * c) / 2 > 0 && (a * a + c * c - b * b) / 2 > 0)
			{
				printf("Acute triangle\n");
				printf("Isosceles triangle\n");
			}
		}
		if (c == b && c != a && b != a)
		{
			if ((b * b + c * c - a * a) / 2 < 0 || (b * b + a * a - c * c) / 2 < 0 || (a * a + c * c - b * b) / 2 < 0)
			{
				printf("Obtuse triangle\n");
				printf("Isosceles triangle\n");
			}
			if ((b * b + c * c - a * a) / 2 > 0 && (b * b + a * a - c * c) / 2 > 0 && (a * a + c * c - b * b) / 2 > 0)
			{
				printf("Acute triangle\n");
				printf("Isosceles triangle\n");
			}
		}
	}
	return 0;
}